﻿html {
    font-size: 16px;
}

body {
    color: #797979;
    background: #f1f2f7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

ul li {
    list-style: none;
}

.modal-body .dd {
    margin-bottom: 15px;
}

a, a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

.dropdown-menu a {
    transition: all .25s linear;
    padding: 6px 20px;
    display: block;
}

.dropdown-menu .divider {
    margin: 1px 0;
}

/*Title*/
.sidebar-toggle-box {
    font-size: 1.25rem;
    color: #333;
    flex: 1 1 auto;
    padding: 12px 0;
}

    .sidebar-toggle-box span {
        display: none;
    }

.header {
    padding: 0 15px;
    height: 98px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    top: 0;
    left: 0;
    right: 0;
}

    .header .bg {
        background-color: #337ab7;
        height: 4px;
        margin: 0 -15px;
    }

    .header .nav {
        display: none;
        margin-left: 15px;
    }

        .header .nav .dropdown {
            margin-right: 6px;
        }

    .header [data-toggle="dropdown"] {
        border: 1px solid #eee;
        border-radius: 4px;
        padding: 6px 12px;
        color: #777;
        transition: all .25s linear;
    }

        .header [data-toggle="dropdown"]:hover {
            color: #333;
        }

    .header .badge {
        position: absolute;
        right: -6px;
        top: -14px;
        opacity: 0.8;
    }

    .header .dropdown-item.active, .header .dropdown-item:active {
        color: #fff;
        text-decoration: none;
        background-color: transparent;
    }

.nav .dropdown-menu {
    width: 235px;
    border: none;
    margin-left: -74px;
    margin-top: 12px;
}

.nav .dropdown-arrow {
    border-style: solid;
    border-width: 0 9px 9px;
    position: absolute;
    left: 85px;
    top: -9px;
}

.nav .dropdown-header {
    color: #fff;
    padding: 10px;
    border-radius: 4px 4px 0 0;
}

.nav .dropdown-footer {
    padding: 6px 0;
    background-color: #f1f2f7;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.nav .dropdown-item {
    display: flex;
    border-bottom: 1px solid #EBEBEB;
    padding: 10px 12px;
    font-size: 0.75rem;
}

    .nav .dropdown-item:nth-of-type(odd) {
        background-color: #F7F8F9;
    }

    .nav .dropdown-item:hover {
        background-color: #93c9e8;
    }

    .nav .dropdown-item > :nth-child(2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        flex: 1 1 auto;
        padding: 0 6px;
    }

    .nav .dropdown-item .small {
        font-weight: bold;
    }

.userinfo img {
    height: 29px;
    width: 29px;
}

.userinfo .dropdown-toggle {
    display: block;
    padding: 6px;
}

.userinfo .dropdown-item {
    display: flex;
    flex-wrap: wrap;
    width: 270px;
    padding: 0;
    justify-content: space-around;
}

    .userinfo .dropdown-item a {
        text-align: center;
        color: #777;
        padding: 15px 10px;
        flex: 1 1 33.333%;
    }

        .userinfo .dropdown-item a i {
            font-size: 1.025rem;
            display: block;
            margin-bottom: 4px;
        }

    .userinfo .dropdown-item:last-child {
        border-radius: 0 0 4px 4px;
    }

        .userinfo .dropdown-item:last-child a {
            color: #ca3a39;
            border-radius: 0 0 0.15rem 0.15rem;
            background: #a9d96c;
            background-image: linear-gradient(to bottom, #a9d96c 0%, #799e51 100%);
        }

.userinfo .badge {
    left: 234px;
    right: auto;
    top: 6px;
}
/*end title*/

.site-footer {
    background: #5b6e84;
    color: #fff;
    padding: 10px 4px;
    height: 40px;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
}

    .site-footer > span {
        flex: 1 1 auto;
        text-align: center;
        margin-left: 4px;
    }

.fixed {
    position: fixed;
    z-index: 100;
}

.go-top {
    background: rgba(255,255,255,.5);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
}

    .go-top:hover {
        background-color: white;
    }

    .go-top i {
        color: #2A3542;
    }
/*notify bar*/

.breadcrumb {
    border: solid 1px #ddd;
    border-width: 1px 0 0 0;
    background-color: transparent;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 8px 10px;
}

    .breadcrumb i {
        padding-right: 6px;
    }

.content-body {
    position: fixed;
    left: 0;
    bottom: 40px;
    right: 0;
    top: 98px;
    overflow: hidden;
}

    .content-body iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

.welcome-bg {
    background-image: url('../images/bg.jpg');
    background-size: 100% 100%;
}

/*bs v4.1.3*/
label.dropdown-item:first-child {
    margin-top: 0.5rem;
}

.cache-title {
    font-weight: bold;
    color: #0077de;
    background-color: #b5f1b6;
    padding: 12px 15px;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
}

.cache-item {
    display: flex;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid #EBEBEB;
}

    .cache-item:nth-of-type(odd) {
        background-color: #F7F8F9;
    }

    .cache-item:last-child {
        border-bottom: none;
        margin-bottom: 15px;
    }

    .cache-item > :not(:first-child) {
        margin-left: 10px;
        display: flex;
    }

    .cache-item > :nth-child(2) {
        flex: 1 1 auto;
    }

        .cache-item > :nth-child(2) span:not(.badge) {
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            display: inline-block;
            width: 152px;
        }

    .cache-item > :nth-child(3) {
        flex: 1 1 auto;
        display: none;
    }

    .cache-item + .cache-title {
        margin-top: 12px;
    }

    .cache-item .badge {
        position: relative;
        top: -8px;
        margin-left: 0;
        line-height: normal;
    }

    .cache-item .btn, td .btn:not(.btn-lg) {
        margin-left: 5px;
        font-size: 0.75rem;
        padding: 1px 5px;
    }

.card-img {
    max-width: 258px;
}
